﻿using BCDto.OA.BusinessFlowRecord;
using BCEntity.OA.BusinessFlowRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.OA.BusinessFlow
{
    /// <summary>
    /// 业务流
    /// </summary>
    public interface IBusinessFlowService
    {
        /// <summary>
        /// 初始化业务流实例
        /// </summary>
        /// <param name="businessFlowRecordId">业务流记录Id</param>
        void Init(long businessFlowRecordId);
        /// <summary>
        /// 推进业务流
        /// </summary>
        /// <param name="businessFlowRecordDto">业务流记录</param>
        /// <param name="businessFlowPushRecordId">业务流推进记录Id</param>
        void PushBusinessFlow(BusinessFlowRecordDto businessFlowRecordDto,long businessFlowPushRecordId);
    }
}
